package com.neuedu.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neuedu.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.neuedu.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 户主信息对象 yunong_household_info
 *
 * @author ruoyi
 * @date 2024-12-18
 */
@Schema(description = "户主信息对象")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("yunong_household_info")
public class AAAAYunongHouseholdInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** id */
    @Schema(title = "id")
    private Long id;

    /** 户主关联id */
    @Schema(title = "户主关联id")
    private Long householdId;

    /** 户主姓名 */
    @Schema(title = "户主姓名")
    @Excel(name = "户主姓名")
    private String name;

    /** 性别 */
    @Schema(title = "性别")
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @Schema(title = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthdate;

    /** 身份证号码 */
    @Schema(title = "身份证号码")
    @Excel(name = "身份证号码")
    private String idCard;

    /** 职业 */
    @Schema(title = "职业")
    @Excel(name = "职业")
    private String occupation;

    /** 文化程度 */
    @Schema(title = "文化程度")
    @Excel(name = "文化程度")
    private String education;

    /** 联系方式 */
    @Schema(title = "联系方式")
    @Excel(name = "联系方式")
    private String contact;

    /** 现居住地址 */
    @Schema(title = "现居住地址")
    @Excel(name = "现居住地址")
    private String currentAddress;

    /** 学生情况 */
    @Schema(title = "学生情况")
    @Excel(name = "学生情况")
    private String studentStatus;

    /** 工作场所 */
    @Schema(title = "工作场所")
    private String workPlace;

    /** 户号 */
    @Schema(title = "户号")
    private String householdNumber;
    /** 家庭成员信息信息 */
    private List<AAAAYunongFamilyMemberInfo> aAAAYunongFamilyMemberInfoList;

}
